Draw Plot of Function Curve in R (2 Examples) | Base R vs. ggplot2 Package | curve & stat_function